/**
 * 
 */
package app.dev.telemetric;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

/**
 * @author David
 *
 */
public class AlertAthenticator extends Authenticator 
{
	private String username="";
	private String password="";
	
	public AlertAthenticator()
	{
		super();
	}
	
	@Override
	protected PasswordAuthentication getPasswordAuthentication() 
	{
		return new PasswordAuthentication(username, password);
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
}